package com.zhh.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

// spring的主启动类(启动入口)
@SpringBootApplication
@EnableEurekaClient   // 服务提供者向eureka中注册，用client
//@EnableDiscoveryClient // nacos注册服务
public class Provider_8001 {

    public static void main(String[] args) {
        SpringApplication.run(Provider_8001.class, args);
    }
}
